package ai2;

import java.util.ArrayList;

public class TestIE {

	private static String fileName = "sampleRules.txt";
	// private static String fileName = "catalogRules.txt";
	// private static String fileName = "smallRules.txt";
	
	private static ArrayList<String> sampleFacts = new ArrayList<String>();
	
	public static void main(String[] args) {
	
//		sampleFacts.add("Stretch has hair.");
//		sampleFacts.add("Stretch chews cud.");
//		sampleFacts.add("Stretch has long legs.");
//		sampleFacts.add("Stretch has long neck.");
//		sampleFacts.add("Stretch has tawny color.");
//		sampleFacts.add("Stretch has dark spots.");

		sampleFacts.add("Swifty has hair.");
		sampleFacts.add("Swifty has dark spots.");
		sampleFacts.add("Swifty has tawny color.");
		sampleFacts.add("Swifty has pointed teeth.");
		sampleFacts.add("Swifty has claws.");
		sampleFacts.add("Swifty has forward-pointing eyes.");
		
//		sampleFacts.add("Student has MATH1113");
//		sampleFacts.add("Student has MATH1161");
//		sampleFacts.add("Student has CSC1301");
		
		InferenceEngine ie = new InferenceEngine(fileName, sampleFacts);
		
		// ie.analyze();
		ie.validateHypothesis3("Swifty is a giraffe");
		// ie.report();
	}
}